package com.service.impl;

import com.entity.OutStorageDetails;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.mapper.OutStorageDetailsMapper;
import com.service.OutStorageDetailsService;
import com.vo.Page;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ fileName:OutStorageDetailsServiceImpl
 * @ description:
 * @ author:dzh
 * @ createTime:2022/5/8 14:46
 * @ version:1.0.0
 */
@Service
public class OutStorageDetailsServiceImpl implements OutStorageDetailsService {
    @Resource
    private OutStorageDetailsMapper outStorageDetailsMapper;
    @Override
    public List<OutStorageDetails> listByOshId(Integer oshId) {
        return outStorageDetailsMapper.listByOshId(oshId);
    }

    @Override
    public int insertOne(OutStorageDetails outStorageDetails) {
        return outStorageDetailsMapper.insertOne(outStorageDetails);
    }

    @Override
    public int insertMore(List<OutStorageDetails> list) {
        return outStorageDetailsMapper.insertMore(list);
    }
}
